import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from "axios"


import ElementUI from 'element-ui'

import 'element-ui/lib/theme-chalk/index.css';

const _axios = axios.create({
    baseURL: "http://127.0.0.1:8000",
})
Vue.use(ElementUI)
Vue.config.productionTip = false
_axios.defaults.baseURL = "/api/"

Vue.prototype.$axios = _axios



new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')
